export default {
    //  height:'auto',
    //  calcHeight: 30,
    //  tip: false,
    //  border: true,
    //  index: true,
    //  viewBtn: true,
    //  selection: true,
     height: 'auto',
          calcHeight: 30,
          dialogWidth: 650,
          tip: false,
          searchShow: true,
          searchMenuSpan: 6,
          border: true,
          index: true,
          viewBtn: true,
          selection: true,
          excelBtn: true,
          dialogClickModal: false,
     column: [
       {
        label: "所属网格",
        prop: "gridId",
        type: "tree",
        span: 24,
        parent: true,
        //multiple: true,
        display: true,
        dicMethod: "get",
        dicUrl: "/api/smart-system/dept/treeByPid",
        props: {
          label: "title"
        
        },
        checkStrictly: true,
        //slot: true,
        search: true,
        rules: [{
          required: true,
          message: "请输入所属网格",
          trigger: "click"
        }],
      },
      {
        label: "机构名称",
        prop: "name",
        type: "input",
        span: 24,
        search: true,
        rules: [{
          required: true,
          message: "请输入机构名称",
          trigger: "blur"
        }],
      },
      {
        label: "机构类型",
        prop: "orgType",
        type: "select",
        dicUrl: "/api/smart-system/dict-biz/dictionary?code=sys_dept_type",
        props: {
          label: "dictValue",
          value: "dictKey"
        },
        span: 24,
        search: true,
        rules: [{
          required: true,
          message: "请输入机构类型",
          trigger: "blur"
        }],
      },
      
      {
        label: "机构层级",
        prop: "centerLevel",
        type: "select",
        dicUrl: "/api/smart-system/dict/dictionary?code=sys_center_level",
        props: {
          label: "dictValue",
          value: "dictKey"
        },
        span: 24,
        rules: [{
          required: true,
          message: "请输入机构层级",
          trigger: "blur"
        }],
      },
      {
        label: "备注",
        prop: "remark",
        type: "input",
        span: 24,
      },

     ]
}
